#ifndef LinkedList_h
#define LinkedList_h

#include "WProgram.h"

typedef struct link{
  int value;
  struct link *next;
}link;

typedef struct linkedlist{
  struct link *first;
  int size;
}linkedlist;


class LinkedList
{
  public:
    LinkedList();
    void add2list(int *value, linkedlist *list);
    int getnext(linkedlist *list) ;
	linkedlist parsestring(char *(s[]));
};

#endif